package com.jk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.context.annotation.ImportResource;

/**
 * Created by scc on 2017/12/18.
 */
@SpringBootApplication
@ImportResource("classpath:spring-dubbo-provider.xml")
@MapperScan("com.jk.mapper")
//导入spring的配置文件 相当为web.xml中的spring监听功能
public class ApplicationConfiguration {



    public static void main(String[] args) {
        SpringApplication.run(ApplicationConfiguration.class,args);
    }
}
